home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 5 / QRZ Ham Radio Callsign Database - Volume 5.iso / files / mac / varilogs.hqx / Logs / Logging Stacks UK / Contester / background_2737.xml next >
Encoding:
Extensible Markup Language  |  1992-04-29  |  23.6 KB  |  742 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2737</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3261.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_5280.css" />
  11.     <part>
  12.         <id>9</id>
  13.         <type>button</type>
  14.         <visible> <true /> </visible>
  15.         <reserved5> 0 </reserved5>
  16.         <reserved4> 0 </reserved4>
  17.         <reserved3> 0 </reserved3>
  18.         <reserved2> 0 </reserved2>
  19.         <reserved1> 0 </reserved1>
  20.         <enabled> <true /> </enabled>
  21.         <rect>
  22.             <left>196</left>
  23.             <top>285</top>
  24.             <right>222</right>
  25.             <bottom>308</bottom>
  26.         </rect>
  27.         <style>transparent</style>
  28.         <showName> <false /> </showName>
  29.         <highlight> <false /> </highlight>
  30.         <autoHighlight> <true /> </autoHighlight>
  31.         <sharedHighlight> <false /> </sharedHighlight>
  32.         <family>0</family>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>1014</icon>
  35.         <textAlign>center</textAlign>
  36.         <font>Chicago</font>
  37.         <textSize>12</textSize>
  38.         <textStyle>plain</textStyle>
  39.         <name>Prev</name>
  40.         <script>on mouseUp
  41. go to prev card
  42. end mouseUp
  43. </script>
  44.     </part>
  45.     <part>
  46.         <id>8</id>
  47.         <type>button</type>
  48.         <visible> <true /> </visible>
  49.         <reserved5> 0 </reserved5>
  50.         <reserved4> 0 </reserved4>
  51.         <reserved3> 0 </reserved3>
  52.         <reserved2> 0 </reserved2>
  53.         <reserved1> 0 </reserved1>
  54.         <enabled> <true /> </enabled>
  55.         <rect>
  56.             <left>234</left>
  57.             <top>285</top>
  58.             <right>259</right>
  59.             <bottom>308</bottom>
  60.         </rect>
  61.         <style>transparent</style>
  62.         <showName> <false /> </showName>
  63.         <highlight> <false /> </highlight>
  64.         <autoHighlight> <true /> </autoHighlight>
  65.         <sharedHighlight> <false /> </sharedHighlight>
  66.         <family>0</family>
  67.         <titleWidth>0</titleWidth>
  68.         <icon>1013</icon>
  69.         <textAlign>center</textAlign>
  70.         <font>Chicago</font>
  71.         <textSize>12</textSize>
  72.         <textStyle>plain</textStyle>
  73.         <name>Next</name>
  74.         <script>on mouseUp
  75. go to next card
  76. end mouseUp
  77. </script>
  78.     </part>
  79.     <part>
  80.         <id>46</id>
  81.         <type>field</type>
  82.         <visible> <true /> </visible>
  83.         <dontWrap> <false /> </dontWrap>
  84.         <dontSearch> <false /> </dontSearch>
  85.         <sharedText> <false /> </sharedText>
  86.         <fixedLineHeight> <true /> </fixedLineHeight>
  87.         <autoTab> <false /> </autoTab>
  88.         <lockText> <false /> </lockText>
  89.         <rect>
  90.             <left>220</left>
  91.             <top>100</top>
  92.             <right>262</right>
  93.             <bottom>117</bottom>
  94.         </rect>
  95.         <style>opaque</style>
  96.         <autoSelect> <false /> </autoSelect>
  97.         <showLines> <true /> </showLines>
  98.         <wideMargins> <false /> </wideMargins>
  99.         <multipleLines> <false /> </multipleLines>
  100.         <reservedFamily> 0 </reservedFamily>
  101.         <titleWidth>0</titleWidth>
  102.         <icon>0</icon>
  103.         <textAlign>left</textAlign>
  104.         <font>Geneva</font>
  105.         <textSize>12</textSize>
  106.         <textStyle>plain</textStyle>
  107.         <textHeight>16</textHeight>
  108.         <name>hisNumber</name>
  109.         <script></script>
  110.     </part>
  111.     <part>
  112.         <id>47</id>
  113.         <type>field</type>
  114.         <visible> <true /> </visible>
  115.         <dontWrap> <false /> </dontWrap>
  116.         <dontSearch> <false /> </dontSearch>
  117.         <sharedText> <false /> </sharedText>
  118.         <fixedLineHeight> <true /> </fixedLineHeight>
  119.         <autoTab> <false /> </autoTab>
  120.         <lockText> <false /> </lockText>
  121.         <rect>
  122.             <left>296</left>
  123.             <top>101</top>
  124.             <right>330</right>
  125.             <bottom>119</bottom>
  126.         </rect>
  127.         <style>opaque</style>
  128.         <autoSelect> <false /> </autoSelect>
  129.         <showLines> <true /> </showLines>
  130.         <wideMargins> <false /> </wideMargins>
  131.         <multipleLines> <false /> </multipleLines>
  132.         <reservedFamily> 0 </reservedFamily>
  133.         <titleWidth>0</titleWidth>
  134.         <icon>0</icon>
  135.         <textAlign>left</textAlign>
  136.         <font>Geneva</font>
  137.         <textSize>12</textSize>
  138.         <textStyle>plain</textStyle>
  139.         <textHeight>16</textHeight>
  140.         <name>precedence</name>
  141.         <script></script>
  142.     </part>
  143.     <part>
  144.         <id>19</id>
  145.         <type>field</type>
  146.         <visible> <true /> </visible>
  147.         <dontWrap> <false /> </dontWrap>
  148.         <dontSearch> <false /> </dontSearch>
  149.         <sharedText> <false /> </sharedText>
  150.         <fixedLineHeight> <true /> </fixedLineHeight>
  151.         <autoTab> <false /> </autoTab>
  152.         <lockText> <false /> </lockText>
  153.         <rect>
  154.             <left>110</left>
  155.             <top>46</top>
  156.             <right>196</right>
  157.             <bottom>63</bottom>
  158.         </rect>
  159.         <style>transparent</style>
  160.         <autoSelect> <false /> </autoSelect>
  161.         <showLines> <true /> </showLines>
  162.         <wideMargins> <false /> </wideMargins>
  163.         <multipleLines> <false /> </multipleLines>
  164.         <reservedFamily> 0 </reservedFamily>
  165.         <titleWidth>0</titleWidth>
  166.         <icon>0</icon>
  167.         <textAlign>left</textAlign>
  168.         <font></font>
  169.         <textSize>12</textSize>
  170.         <textStyle>bold</textStyle>
  171.         <textHeight>16</textHeight>
  172.         <name>station</name>
  173.         <script></script>
  174.     </part>
  175.     <part>
  176.         <id>23</id>
  177.         <type>field</type>
  178.         <visible> <true /> </visible>
  179.         <dontWrap> <false /> </dontWrap>
  180.         <dontSearch> <false /> </dontSearch>
  181.         <sharedText> <false /> </sharedText>
  182.         <fixedLineHeight> <true /> </fixedLineHeight>
  183.         <autoTab> <false /> </autoTab>
  184.         <lockText> <false /> </lockText>
  185.         <rect>
  186.             <left>77</left>
  187.             <top>135</top>
  188.             <right>125</right>
  189.             <bottom>153</bottom>
  190.         </rect>
  191.         <style>opaque</style>
  192.         <autoSelect> <false /> </autoSelect>
  193.         <showLines> <true /> </showLines>
  194.         <wideMargins> <false /> </wideMargins>
  195.         <multipleLines> <false /> </multipleLines>
  196.         <reservedFamily> 0 </reservedFamily>
  197.         <titleWidth>0</titleWidth>
  198.         <icon>0</icon>
  199.         <textAlign>left</textAlign>
  200.         <font>Geneva</font>
  201.         <textSize>12</textSize>
  202.         <textStyle>plain</textStyle>
  203.         <textHeight>16</textHeight>
  204.         <name>check</name>
  205.         <script></script>
  206.     </part>
  207.     <part>
  208.         <id>22</id>
  209.         <type>field</type>
  210.         <visible> <true /> </visible>
  211.         <dontWrap> <false /> </dontWrap>
  212.         <dontSearch> <false /> </dontSearch>
  213.         <sharedText> <false /> </sharedText>
  214.         <fixedLineHeight> <true /> </fixedLineHeight>
  215.         <autoTab> <false /> </autoTab>
  216.         <lockText> <false /> </lockText>
  217.         <rect>
  218.             <left>67</left>
  219.             <top>99</top>
  220.             <right>116</right>
  221.             <bottom>116</bottom>
  222.         </rect>
  223.         <style>opaque</style>
  224.         <autoSelect> <false /> </autoSelect>
  225.         <showLines> <true /> </showLines>
  226.         <wideMargins> <false /> </wideMargins>
  227.         <multipleLines> <false /> </multipleLines>
  228.         <reservedFamily> 0 </reservedFamily>
  229.         <titleWidth>0</titleWidth>
  230.         <icon>0</icon>
  231.         <textAlign>left</textAlign>
  232.         <font>Geneva</font>
  233.         <textSize>12</textSize>
  234.         <textStyle>plain</textStyle>
  235.         <textHeight>16</textHeight>
  236.         <name>QTH</name>
  237.         <script></script>
  238.     </part>
  239.     <part>
  240.         <id>21</id>
  241.         <type>field</type>
  242.         <visible> <true /> </visible>
  243.         <dontWrap> <false /> </dontWrap>
  244.         <dontSearch> <false /> </dontSearch>
  245.         <sharedText> <false /> </sharedText>
  246.         <fixedLineHeight> <true /> </fixedLineHeight>
  247.         <autoTab> <false /> </autoTab>
  248.         <lockText> <false /> </lockText>
  249.         <rect>
  250.             <left>263</left>
  251.             <top>46</top>
  252.             <right>326</right>
  253.             <bottom>64</bottom>
  254.         </rect>
  255.         <style>transparent</style>
  256.         <autoSelect> <false /> </autoSelect>
  257.         <showLines> <true /> </showLines>
  258.         <wideMargins> <false /> </wideMargins>
  259.         <multipleLines> <false /> </multipleLines>
  260.         <reservedFamily> 0 </reservedFamily>
  261.         <titleWidth>0</titleWidth>
  262.         <icon>0</icon>
  263.         <textAlign>left</textAlign>
  264.         <font>Geneva</font>
  265.         <textSize>12</textSize>
  266.         <textStyle>plain</textStyle>
  267.         <textHeight>16</textHeight>
  268.         <name>Frequency</name>
  269.         <script></script>
  270.     </part>
  271.     <part>
  272.         <id>41</id>
  273.         <type>field</type>
  274.         <visible> <true /> </visible>
  275.         <dontWrap> <false /> </dontWrap>
  276.         <dontSearch> <false /> </dontSearch>
  277.         <sharedText> <false /> </sharedText>
  278.         <fixedLineHeight> <true /> </fixedLineHeight>
  279.         <autoTab> <false /> </autoTab>
  280.         <lockText> <false /> </lockText>
  281.         <rect>
  282.             <left>188</left>
  283.             <top>171</top>
  284.             <right>234</right>
  285.             <bottom>189</bottom>
  286.         </rect>
  287.         <style>rectangle</style>
  288.         <autoSelect> <false /> </autoSelect>
  289.         <showLines> <false /> </showLines>
  290.         <wideMargins> <false /> </wideMargins>
  291.         <multipleLines> <false /> </multipleLines>
  292.         <reservedFamily> 0 </reservedFamily>
  293.         <titleWidth>0</titleWidth>
  294.         <icon>0</icon>
  295.         <textAlign>left</textAlign>
  296.         <font>Geneva</font>
  297.         <textSize>12</textSize>
  298.         <textStyle>plain</textStyle>
  299.         <textHeight>16</textHeight>
  300.         <name>mode</name>
  301.         <script></script>
  302.     </part>
  303.     <part>
  304.         <id>27</id>
  305.         <type>field</type>
  306.         <visible> <true /> </visible>
  307.         <dontWrap> <false /> </dontWrap>
  308.         <dontSearch> <false /> </dontSearch>
  309.         <sharedText> <false /> </sharedText>
  310.         <fixedLineHeight> <true /> </fixedLineHeight>
  311.         <autoTab> <false /> </autoTab>
  312.         <lockText> <false /> </lockText>
  313.         <rect>
  314.             <left>318</left>
  315.             <top>145</top>
  316.             <right>479</right>
  317.             <bottom>276</bottom>
  318.         </rect>
  319.         <style>scrolling</style>
  320.         <autoSelect> <false /> </autoSelect>
  321.         <showLines> <true /> </showLines>
  322.         <wideMargins> <false /> </wideMargins>
  323.         <multipleLines> <false /> </multipleLines>
  324.         <reservedFamily> 0 </reservedFamily>
  325.         <titleWidth>0</titleWidth>
  326.         <icon>0</icon>
  327.         <textAlign>left</textAlign>
  328.         <font>Geneva</font>
  329.         <textSize>12</textSize>
  330.         <textStyle>plain</textStyle>
  331.         <textHeight>16</textHeight>
  332.         <name>comments</name>
  333.         <script></script>
  334.     </part>
  335.     <part>
  336.         <id>18</id>
  337.         <type>field</type>
  338.         <visible> <true /> </visible>
  339.         <dontWrap> <false /> </dontWrap>
  340.         <dontSearch> <false /> </dontSearch>
  341.         <sharedText> <false /> </sharedText>
  342.         <fixedLineHeight> <true /> </fixedLineHeight>
  343.         <autoTab> <false /> </autoTab>
  344.         <lockText> <false /> </lockText>
  345.         <rect>
  346.             <left>212</left>
  347.             <top>71</top>
  348.             <right>291</right>
  349.             <bottom>89</bottom>
  350.         </rect>
  351.         <style>transparent</style>
  352.         <autoSelect> <false /> </autoSelect>
  353.         <showLines> <true /> </showLines>
  354.         <wideMargins> <false /> </wideMargins>
  355.         <multipleLines> <false /> </multipleLines>
  356.         <reservedFamily> 0 </reservedFamily>
  357.         <titleWidth>0</titleWidth>
  358.         <icon>0</icon>
  359.         <textAlign>left</textAlign>
  360.         <font>Geneva</font>
  361.         <textSize>12</textSize>
  362.         <textStyle>plain</textStyle>
  363.         <textHeight>16</textHeight>
  364.         <name>Time</name>
  365.         <script></script>
  366.     </part>
  367.     <part>
  368.         <id>17</id>
  369.         <type>field</type>
  370.         <visible> <true /> </visible>
  371.         <dontWrap> <false /> </dontWrap>
  372.         <dontSearch> <false /> </dontSearch>
  373.         <sharedText> <false /> </sharedText>
  374.         <fixedLineHeight> <true /> </fixedLineHeight>
  375.         <autoTab> <false /> </autoTab>
  376.         <lockText> <false /> </lockText>
  377.         <rect>
  378.             <left>56</left>
  379.             <top>71</top>
  380.             <right>180</right>
  381.             <bottom>90</bottom>
  382.         </rect>
  383.         <style>transparent</style>
  384.         <autoSelect> <false /> </autoSelect>
  385.         <showLines> <true /> </showLines>
  386.         <wideMargins> <false /> </wideMargins>
  387.         <multipleLines> <false /> </multipleLines>
  388.         <reservedFamily> 0 </reservedFamily>
  389.         <titleWidth>0</titleWidth>
  390.         <icon>0</icon>
  391.         <textAlign>left</textAlign>
  392.         <font></font>
  393.         <textSize>12</textSize>
  394.         <textStyle>plain</textStyle>
  395.         <textHeight>16</textHeight>
  396.         <name>Zulu Date</name>
  397.         <script></script>
  398.     </part>
  399.     <part>
  400.         <id>29</id>
  401.         <type>button</type>
  402.         <visible> <true /> </visible>
  403.         <reserved5> 0 </reserved5>
  404.         <reserved4> 0 </reserved4>
  405.         <reserved3> 0 </reserved3>
  406.         <reserved2> 0 </reserved2>
  407.         <reserved1> 0 </reserved1>
  408.         <enabled> <true /> </enabled>
  409.         <rect>
  410.             <left>326</left>
  411.             <top>285</top>
  412.             <right>450</right>
  413.             <bottom>307</bottom>
  414.         </rect>
  415.         <style>shadow</style>
  416.         <showName> <true /> </showName>
  417.         <highlight> <false /> </highlight>
  418.         <autoHighlight> <true /> </autoHighlight>
  419.         <sharedHighlight> <false /> </sharedHighlight>
  420.         <family>0</family>
  421.         <titleWidth>0</titleWidth>
  422.         <icon>0</icon>
  423.         <textAlign>center</textAlign>
  424.         <font>Chicago</font>
  425.         <textSize>12</textSize>
  426.         <textStyle>plain</textStyle>
  427.         <name>Import old log</name>
  428.         <script>on mouseUp
  429. ask "Import text from which file?"
  430. if it is empty then exit mouseUp
  431. put it into fileName
  432. open file fileName
  433. doMenu "New Card"
  434. repeat
  435. read from file fileName until return -- get first record
  436. if it is empty then
  437. doMenu "Delete Card"
  438. close file fileName
  439. exit mouseUp
  440. end if
  441. put it into data
  442. repeat with i = 1 to the number of fields
  443. if first word of data is empty or first word of data is return
  444. then exit repeat -- stop
  445. put offset(tab,data) into num --gets field field (until tab)
  446. if num is 0 then -- checks for last field of record
  447. put data into field i -- writes last field
  448. exit repeat
  449. end if
  450. put char 1 to (num - 1) of data into field i -- writes first field
  451. delete char 1 to num of data -- gets rid of field
  452. end repeat
  453. doMenu "New Card"
  454. end repeat
  455. end mouseUp
  456. </script>
  457.     </part>
  458.     <part>
  459.         <id>31</id>
  460.         <type>field</type>
  461.         <visible> <true /> </visible>
  462.         <dontWrap> <false /> </dontWrap>
  463.         <dontSearch> <false /> </dontSearch>
  464.         <sharedText> <false /> </sharedText>
  465.         <fixedLineHeight> <true /> </fixedLineHeight>
  466.         <autoTab> <false /> </autoTab>
  467.         <lockText> <false /> </lockText>
  468.         <rect>
  469.             <left>377</left>
  470.             <top>71</top>
  471.             <right>473</right>
  472.             <bottom>90</bottom>
  473.         </rect>
  474.         <style>rectangle</style>
  475.         <autoSelect> <false /> </autoSelect>
  476.         <showLines> <false /> </showLines>
  477.         <wideMargins> <false /> </wideMargins>
  478.         <multipleLines> <false /> </multipleLines>
  479.         <reservedFamily> 0 </reservedFamily>
  480.         <titleWidth>0</titleWidth>
  481.         <icon>0</icon>
  482.         <textAlign>center</textAlign>
  483.         <font>Chicago</font>
  484.         <textSize>12</textSize>
  485.         <textStyle>plain</textStyle>
  486.         <textHeight>16</textHeight>
  487.         <name>Local Time</name>
  488.         <script></script>
  489.     </part>
  490.     <part>
  491.         <id>34</id>
  492.         <type>button</type>
  493.         <visible> <true /> </visible>
  494.         <reserved5> 0 </reserved5>
  495.         <reserved4> 0 </reserved4>
  496.         <reserved3> 0 </reserved3>
  497.         <reserved2> 0 </reserved2>
  498.         <reserved1> 0 </reserved1>
  499.         <enabled> <true /> </enabled>
  500.         <rect>
  501.             <left>176</left>
  502.             <top>214</top>
  503.             <right>262</right>
  504.             <bottom>234</bottom>
  505.         </rect>
  506.         <style>shadow</style>
  507.         <showName> <true /> </showName>
  508.         <highlight> <false /> </highlight>
  509.         <autoHighlight> <true /> </autoHighlight>
  510.         <sharedHighlight> <false /> </sharedHighlight>
  511.         <family>0</family>
  512.         <titleWidth>0</titleWidth>
  513.         <icon>0</icon>
  514.         <textAlign>center</textAlign>
  515.         <font>Chicago</font>
  516.         <textSize>12</textSize>
  517.         <textStyle>plain</textStyle>
  518.         <name>New Entry</name>
  519.         <script>on mouseUp
  520. put line 1 of field "Zulu Time" into timetemp
  521. get the value of field "myNumber"
  522. add 1 to it
  523. put it into nr
  524. go to last card
  525. doMenu "New Card"
  526. put the date into field "Zulu Date"
  527. put nr into field "myNumber"
  528. put timetemp into field "Time"
  529. tabKey
  530. end mouseUp
  531. </script>
  532.     </part>
  533.     <part>
  534.         <id>36</id>
  535.         <type>field</type>
  536.         <visible> <true /> </visible>
  537.         <dontWrap> <false /> </dontWrap>
  538.         <dontSearch> <false /> </dontSearch>
  539.         <sharedText> <false /> </sharedText>
  540.         <fixedLineHeight> <true /> </fixedLineHeight>
  541.         <autoTab> <false /> </autoTab>
  542.         <lockText> <false /> </lockText>
  543.         <rect>
  544.             <left>377</left>
  545.             <top>93</top>
  546.             <right>473</right>
  547.             <bottom>110</bottom>
  548.         </rect>
  549.         <style>rectangle</style>
  550.         <autoSelect> <false /> </autoSelect>
  551.         <showLines> <false /> </showLines>
  552.         <wideMargins> <false /> </wideMargins>
  553.         <multipleLines> <false /> </multipleLines>
  554.         <reservedFamily> 0 </reservedFamily>
  555.         <titleWidth>0</titleWidth>
  556.         <icon>0</icon>
  557.         <textAlign>center</textAlign>
  558.         <font>Chicago</font>
  559.         <textSize>12</textSize>
  560.         <textStyle>plain</textStyle>
  561.         <textHeight>16</textHeight>
  562.         <name>Zulu Time</name>
  563.         <script></script>
  564.     </part>
  565.     <part>
  566.         <id>38</id>
  567.         <type>button</type>
  568.         <visible> <true /> </visible>
  569.         <reserved5> 0 </reserved5>
  570.         <reserved4> 0 </reserved4>
  571.         <reserved3> 0 </reserved3>
  572.         <reserved2> 0 </reserved2>
  573.         <reserved1> 0 </reserved1>
  574.         <enabled> <true /> </enabled>
  575.         <rect>
  576.             <left>192</left>
  577.             <top>240</top>
  578.             <right>243</right>
  579.             <bottom>259</bottom>
  580.         </rect>
  581.         <style>shadow</style>
  582.         <showName> <true /> </showName>
  583.         <highlight> <false /> </highlight>
  584.         <autoHighlight> <true /> </autoHighlight>
  585.         <sharedHighlight> <false /> </sharedHighlight>
  586.         <family>0</family>
  587.         <titleWidth>0</titleWidth>
  588.         <icon>0</icon>
  589.         <textAlign>center</textAlign>
  590.         <font>Chicago</font>
  591.         <textSize>12</textSize>
  592.         <textStyle>plain</textStyle>
  593.         <name>Dupe</name>
  594.         <script>on mouseUp
  595. show message
  596. global duper
  597. put empty into duper
  598. repeat for the number of cards - 1
  599. if duper is empty then go to first card of background "QSO"
  600. else go to card duper + 1
  601. put field "Station" into callchecker
  602. put id of this card into cardchecker
  603. put number of this card into duper
  604. if duper is 1 then exit repeat
  605. put field "band" into bander
  606. find callchecker
  607. find callchecker
  608. put id of this card into dupechecker
  609. put field "band" into bandchecker
  610. if cardchecker is dupechecker and bander is bandchecker then
  611. put "OK" && duper into message
  612. else
  613. beep
  614. put "Duplicate, card" && duper into field "dupe"
  615. go to card duper
  616. end if
  617. end repeat
  618. end mouseUp
  619. </script>
  620.     </part>
  621.     <part>
  622.         <id>39</id>
  623.         <type>button</type>
  624.         <visible> <true /> </visible>
  625.         <reserved5> 0 </reserved5>
  626.         <reserved4> 0 </reserved4>
  627.         <reserved3> 0 </reserved3>
  628.         <reserved2> 0 </reserved2>
  629.         <reserved1> 0 </reserved1>
  630.         <enabled> <true /> </enabled>
  631.         <rect>
  632.             <left>247</left>
  633.             <top>240</top>
  634.             <right>294</right>
  635.             <bottom>259</bottom>
  636.         </rect>
  637.         <style>shadow</style>
  638.         <showName> <true /> </showName>
  639.         <highlight> <false /> </highlight>
  640.         <autoHighlight> <true /> </autoHighlight>
  641.         <sharedHighlight> <false /> </sharedHighlight>
  642.         <family>0</family>
  643.         <titleWidth>0</titleWidth>
  644.         <icon>0</icon>
  645.         <textAlign>center</textAlign>
  646.         <font>Chicago</font>
  647.         <textSize>12</textSize>
  648.         <textStyle>plain</textStyle>
  649.         <name>Log</name>
  650.         <script>on mouseUp
  651. global timezone
  652. global zfactor
  653. get the time
  654. convert it to secs
  655. add zfactor to it
  656. convert it to time
  657. put it && "Z" into field "Time"
  658. convert it to secs
  659. convert it to date
  660. put it && "(UTC)" into field "Zulu Date"
  661. put field frequency into freq
  662. put empty into band
  663. if freq is empty then exit mouseUp
  664. if freq >= 1.8 and freq <= 2.0 then put 160 into band
  665. if freq >= 3.5 and freq <= 3.8 then put 80 into band
  666. if freq >= 7.0 and freq <= 7.1 then put 40 into band
  667. if freq >= 10.1 and freq <= 10.15 then put 30 into band
  668. if freq >= 14.0 and freq <= 14.35 then put 20 into band
  669. if freq >= 18.068 amd freq <= 18.168 then put 17 into band
  670. if freq >= 21.1 and freq <= 21.45 then put 15 into band
  671. if freq >= 24.89 and freq <= 24.99 then put 12 into band
  672. if freq >= 28.0 and freq <= 29.7 then put 10 into band
  673. if freq >= 50.0 and freq <= 52.0 then put 6 into band
  674. if freq >= 70.0 and freq <= 70.5 then put 4 into band
  675. if freq >= 144.0 and freq <= 148.0 then put 2 into band
  676. if band is empty then
  677. beep
  678. put "Frequency out of bounds!" into message
  679. exit mouseUp
  680. end if
  681.  
  682. put band && "Meters" into field "band"
  683. end mouseUp
  684. </script>
  685.     </part>
  686.     <part>
  687.         <id>40</id>
  688.         <type>field</type>
  689.         <visible> <true /> </visible>
  690.         <dontWrap> <false /> </dontWrap>
  691.         <dontSearch> <false /> </dontSearch>
  692.         <sharedText> <false /> </sharedText>
  693.         <fixedLineHeight> <true /> </fixedLineHeight>
  694.         <autoTab> <false /> </autoTab>
  695.         <lockText> <false /> </lockText>
  696.         <rect>
  697.             <left>31</left>
  698.             <top>214</top>
  699.             <right>162</right>
  700.             <bottom>233</bottom>
  701.         </rect>
  702.         <style>transparent</style>
  703.         <autoSelect> <false /> </autoSelect>
  704.         <showLines> <false /> </showLines>
  705.         <wideMargins> <false /> </wideMargins>
  706.         <multipleLines> <false /> </multipleLines>
  707.         <reservedFamily> 0 </reservedFamily>
  708.         <titleWidth>0</titleWidth>
  709.         <icon>0</icon>
  710.         <textAlign>left</textAlign>
  711.         <font>Geneva</font>
  712.         <textSize>12</textSize>
  713.         <textStyle>plain</textStyle>
  714.         <textHeight>16</textHeight>
  715.         <name>dupe</name>
  716.         <script></script>
  717.     </part>
  718.     <part>
  719.         <id>42</id>
  720.         <type>field</type>
  721.         <visible> <true /> </visible>
  722.         <dontWrap> <false /> </dontWrap>
  723.         <dontSearch> <false /> </dontSearch>
  724.         <sharedText> <false /> </sharedText>
  725.         <fixedLineHeight> <true /> </fixedLineHeight>
  726.         <autoTab> <false /> </autoTab>
  727.         <lockText> <false /> </lockText>
  728.         <rect>
  729.             <left>58</left>
  730.             <top>170</top>
  731.             <right>139</right>
  732.             <bottom>188</bottom>
  733.         </rect>
  734.         <style>rectangle</style>
  735.         <autoSelect> <false /> </autoSelect>
  736.         <showLines> <false /> </showLines>
  737.         <wideMargins> <false /> </wideMargins>
  738.         <multipleLines> <false /> </multipleLines>
  739.         <reservedFamily> 0 </reservedFamily>
  740.         <titleWidth>0</titleWidth>
  741.         <icon>0</icon>
  742.         <textAlign>left</textAlign>
  743.         <font>Geneva</font>
  744.         <textSize>12</textSize>
  745.         <textStyle>plain</textStyle>
  746.         <textHeight>16</textHeight>
  747.         <name>band</name>
  748.         <script></script>
  749.     </part>
  750.     <part>
  751.         <id>44</id>
  752.         <type>button</type>
  753.         <visible> <true /> </visible>
  754.         <reserved5> 0 </reserved5>
  755.         <reserved4> 0 </reserved4>
  756.         <reserved3> 0 </reserved3>
  757.         <reserved2> 0 </reserved2>
  758.         <reserved1> 0 </reserved1>
  759.         <enabled> <true /> </enabled>
  760.         <rect>
  761.             <left>137</left>
  762.             <top>239</top>
  763.             <right>187</right>
  764.             <bottom>258</bottom>
  765.         </rect>
  766.         <style>shadow</style>
  767.         <showName> <true /> </showName>
  768.         <highlight> <false /> </highlight>
  769.         <autoHighlight> <true /> </autoHighlight>
  770.         <sharedHighlight> <false /> </sharedHighlight>
  771.         <family>0</family>
  772.         <titleWidth>0</titleWidth>
  773.         <icon>0</icon>
  774.         <textAlign>center</textAlign>
  775.         <font>Chicago</font>
  776.         <textSize>12</textSize>
  777.         <textStyle>plain</textStyle>
  778.         <name>Start</name>
  779.         <script>on mouseUp
  780. global timezone
  781. global zfactor
  782. get the time
  783. put it && timezone into field "Local Time"
  784. convert it to secs
  785. add zfactor to it
  786. convert it to time
  787. put it && "UTC" into field "Zulu Time"
  788.  
  789.  
  790. end mouseUp
  791. </script>
  792.     </part>
  793.     <part>
  794.         <id>45</id>
  795.         <type>field</type>
  796.         <visible> <true /> </visible>
  797.         <dontWrap> <false /> </dontWrap>
  798.         <dontSearch> <false /> </dontSearch>
  799.         <sharedText> <false /> </sharedText>
  800.         <fixedLineHeight> <true /> </fixedLineHeight>
  801.         <autoTab> <false /> </autoTab>
  802.         <lockText> <false /> </lockText>
  803.         <rect>
  804.             <left>147</left>
  805.             <top>100</top>
  806.             <right>188</right>
  807.             <bottom>118</bottom>
  808.         </rect>
  809.         <style>transparent</style>
  810.         <autoSelect> <false /> </autoSelect>
  811.         <showLines> <true /> </showLines>
  812.         <wideMargins> <false /> </wideMargins>
  813.         <multipleLines> <false /> </multipleLines>
  814.         <reservedFamily> 0 </reservedFamily>
  815.         <titleWidth>0</titleWidth>
  816.         <icon>0</icon>
  817.         <textAlign>left</textAlign>
  818.         <font>Geneva</font>
  819.         <textSize>12</textSize>
  820.         <textStyle>plain</textStyle>
  821.         <textHeight>16</textHeight>
  822.         <name>myNumber</name>
  823.         <script></script>
  824.     </part>
  825.     <part>
  826.         <id>48</id>
  827.         <type>button</type>
  828.         <visible> <true /> </visible>
  829.         <reserved5> 0 </reserved5>
  830.         <reserved4> 0 </reserved4>
  831.         <reserved3> 0 </reserved3>
  832.         <reserved2> 0 </reserved2>
  833.         <reserved1> 0 </reserved1>
  834.         <enabled> <true /> </enabled>
  835.         <rect>
  836.             <left>52</left>
  837.             <top>278</top>
  838.             <right>89</right>
  839.             <bottom>306</bottom>
  840.         </rect>
  841.         <style>transparent</style>
  842.         <showName> <false /> </showName>
  843.         <highlight> <false /> </highlight>
  844.         <autoHighlight> <true /> </autoHighlight>
  845.         <sharedHighlight> <false /> </sharedHighlight>
  846.         <family>0</family>
  847.         <titleWidth>0</titleWidth>
  848.         <icon>9172</icon>
  849.         <textAlign>center</textAlign>
  850.         <font>Chicago</font>
  851.         <textSize>12</textSize>
  852.         <textStyle>plain</textStyle>
  853.         <name>Return</name>
  854.         <script>on mouseUp
  855. visual effect iris close fast
  856. go to stack "Radio"
  857. end mouseUp
  858. </script>
  859.     </part>
  860.     <name>QSO</name>
  861.     <script>on closeField
  862. get chartonum of field "precedence" -- checks for uppercase letter
  863. if it > 90 then
  864. subtract 32 from it
  865. put numtochar(it) into field "precedence"
  866. end if
  867. if field "Frequency" is empty then exit closeField
  868. get field "Frequency"
  869. set numberFormat to "00"
  870. multiply it by 1
  871. put it into field "Frequency"
  872. put empty into band
  873. put field "Frequency" into freq
  874. if freq >= 1.8 and freq <= 2.0 then put 160 into band
  875. if freq >= 3.5 and freq <= 3.8 then put 80 into band
  876. if freq >= 7.0 and freq <= 7.1 then put 40 into band
  877. if freq >= 10.1 and freq <= 10.15 then put 30 into band
  878. if freq >= 14.0 and freq <= 14.35 then put 20 into band
  879. if freq > 18.068 and freq <= 18.168 then put 17 into band
  880. if freq >= 21.0 and freq <= 21.45 then put 15 into band
  881. if freq >= 24.89 and freq <= 24.99 then put 12 into band
  882. if freq >= 28.0 and freq <= 29.7 then put 10 into band
  883. if freq >= 50.0 and freq <= 51.0 then put 6 into band
  884. if freq >= 144.0 and freq <= 146.0 then put 2 into band
  885. if band is empty then
  886. beep
  887. show message
  888. put "Frequency out of amateur bands!" into message
  889. exit closeField
  890. end if
  891. put band && "Meters" into field "band"
  892. end closeField
  893.  
  894. </script>
  895. </background>
  896.